<template>
  <div class="home-container">
    <!-- 头部 -->
    <Header></Header>

    <div class="container">
      <!-- 左侧导航栏 -->
      <LeftNavigation></LeftNavigation>
      <!-- 轮播图 -->
      <Carousel></Carousel>

    </div>
    <Content></Content>
    <Footer></Footer>

  </div>
</template>

<script>
//引入头部组件
import Header from "@/components/Header.vue";
//引入轮播组件
import Carousel from "./Carousel.vue";
//引入导航栏组件
import LeftNavigation from "./LeftNavigation.vue";

//引入底部组件
import Footer from "@/components/Footer.vue";

import Content from "./Content.vue"
export default {
  name: "home",
  components: {
    Header,
    Carousel,
    LeftNavigation,
    Footer,
    Content
  },
};
</script>

<style scoped>
.container {
  margin: 0 auto;
  margin-top: 70px;
  width: 1226px;
  display: flex;
  justify-content: center;
}
</style>